package com.xpqh.ksg.config.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * redis配置文件读取,默认使用测试连接
 * @author 36115
 *
 */
@Getter
@Setter
@Configuration
@ConfigurationProperties(prefix = RedisProperties.REDIS_PREFIX)
public class RedisProperties {
	public static final String REDIS_PREFIX = "redis";
	
	private String ip;
	private String port;
	private String password;
	
}
